package com.note.user.service.impl;

import com.note.user.dao.mapper.UserModifyMapper;
import com.note.user.service.UserModifyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @projectName：wow-note
 * @package：com.note.user.service.impl
 * @className：UserModifyImpl
 * @author：热伊木
 * @email：uyevan@163.com
 * @description：
 * @date：2024-06-29 23:51
 * @version：1.0
 */

@Service("userModifyServiceImpl")
public class UserModifyServiceImpl implements UserModifyService {

    @Autowired
    private UserModifyMapper userModifyMapper;


    @Override
    public boolean modifyUserInfo(String username, String nickname, String avatar, String avatarMd5) {
        return userModifyMapper.updateUserInfo(username, nickname, avatar, avatarMd5);
    }
}
